package com.cqq.boot.handler;

public class ResultCode {
	
	public static final String SUCCESS_TYPE = "success"; //请求成功
	public static final String FAIL_TYPE = "eorro"; //请求失败
	
	public static final String SUCCESS = "0"; // 操作成功
	public static final String FAIL = "-1"; // 网络连接异常
	
	public static final String USER_NAME_OR_PASSWORD_ERROR = "1";// 用户名或密码错误
	public static final String USER_NOT_EXIST = "2"; // 用户不存在
	public static final String USER_STOPED = "3";// 用户被停用
	public static final String USER_OLD_PASSWORD_ERROR = "4";// 原密码输入错误
	
	public static final String SESSIONTOKEN_FAIL = "5";// sessionToken校验失败
	public static final String SERVER_ERROR = "9"; // 服务器错误
	public static final String PARAM_ERROR = "10"; // 参数错误

	public static final String FILE_LENGTH_OUT = "13";// 上传文件过大
	public static final String FILE_ERROR = "14";// 上传文件失败
	
	public static final String SUCCESS_MSG = "0"; // 操作成功
	public static final String FAIL_MSG = "-1"; // 网络连接异常
	
	public static final String USER_NAME_OR_PASSWORD_ERROR_MSG = "1";// 用户名或密码错误
	public static final String USER_NOT_EXIST_MSG = "2"; // 用户不存在
	public static final String USER_STOPED_MSG = "3";// 用户被停用
	public static final String USER_OLD_PASSWORD_ERROR_MSG = "4";// 原密码输入错误
	
	public static final String SESSIONTOKEN_FAIL_MSG = "用户未登录或在其他地方登录";
	public static final String SERVER_ERROR_MSG = "9"; // 服务器错误
	public static final String PARAM_ERROR_MSG = "10"; // 参数错误

	public static final String FILE_LENGTH_OUT_MSG = "13";// 上传文件过大
	public static final String FILE_ERROR_MSG = "14";// 上传文件失败

}
